﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  
  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  <title>人马君</title>
</head>
<body>

  <div class="page-group">
    <div class="page page-current">
      
      <header class="bar bar-nav fs-header-small">
        <a href="${ctx.host}/rounds?type=${courseRound.courseStatus.cancel ? 'CANCEL' : 'FINISH'}" class="icon icon-left pull-left"></a>
        <h1 class="title">课件详情</h1>
      </header>
      
      <div class="content">
        
        <div class="list-block media-list no-margin" style="margin-bottom: .5rem;">
          <ul>
            <li class="course">
              <div class=" item-content">
              
                <div class="item-media">
                  <img src="${cloud.prod}/${courseRound.course.cover}" style='width: 4rem;'>
                </div>
                
                <div class="item-inner">
                  <div class="item-title-row">
                    <div class="item-title">${courseRound.student.name}<small class="color-gray">&nbsp;${courseRound.student.mobile}</small></div>
                  </div>
                  
                  <div class="item-subtitle" style="height: 3.15rem;">
                  	${courseRound.course.name}<small>（${courseRound.course.hours}课时）</small><br>
                  	约课状态：<span class="color-success">${courseRound.courseStatus.description}</span>
                  </div>
                </div>
              </div>
            </li>
          </ul>
        </div>
        
        <div class="row course-grid">
        
          <div class="col-33">
            <a href="${ctx.host}/rounds/${courseRound.id}/schedules">
               <i class="icon icon-grid-schedule"></i>
               <br>
                                                上课课时
            </a>
          </div>
          
          <c:if test="${courseRound.courseType.year}">
            <div class="col-33">
              <a href="${ctx.host}/rounds/${courseRound.id}/batch-coursewares?type=WEEKLY">
                 <i class="icon icon-grid-week"></i>
                 <br>
                                                  家庭作业
              </a>
            </div>
            
            <div class="col-33">
              <a href="${ctx.host}/rounds/${courseRound.id}/batch-coursewares?type=COURSE">
                 <i class="icon icon-grid-courseware"></i>
                 <br>
                                                  上课课件
              </a>
            </div>
          </c:if>
          
          <!-- <div class="col-33">
            <a href="${ctx.host}/rounds/${courseRound.id}/inbody-records">
               <i class="icon icon-grid-inbody"></i>
               <br>
                                                 体测记录                                 
            </a>
          </div> -->
          
          <div class="col-33">
            <a href="${ctx.host}/rounds/${courseRound.id}/inbody-records">
               <i class="icon icon-grid-inbody"></i>
               <br>身体数据                                                             
            </a>
          </div>
          
          <c:if test="${courseRound.courseType.individual}">
            <div class="col-33">
              <a href="${ctx.host}/rounds/${courseRound.id}/basic-information/student-assessment">
                 <i class="icon icon-grid-assessment"></i>
                 <br>学员评估                                                            
              </a>
            </div>
            
            <div class="col-33">
              <a href="${ctx.host}/rounds/${courseRound.id}/weekly-plan">
                 <i class="icon icon-grid-week"></i>
                 <br>周计划                                                            
              </a>
            </div>
            
            <div class="col-33">
              <a href="${ctx.host}/rounds/${courseRound.id}/course-coursewares">
                 <i class="icon icon-grid-courseware"></i>
                 <br>课程                                                            
              </a>
            </div>
            
            <div class="col-33">
              <a href="${ctx.host}/rounds/${courseRound.id}/result-report">
                 <i class="icon icon-grid-report"></i>
                 <br>成果报告                                                            
              </a>
            </div>
          </c:if>
        </div>
      </div>
    </div>
  </div>
</body>
</html>